 <?
  set_include_path('./'.PATH_SEPARATOR.dirname(__FILE__)."/../");
  include_once "mode/group/groupMember.php";
  try{
  $rows=tbhelper::produce("member");
  $db = new db("mysql:host=localhost;dbname=snsnamal","root","kaixin9999");
  $rows->col["mid"]->colValue=null;
  $rows->col["muid"]->colValue="2";
  $rows->col["mgid"]->colValue="1";
  $rows->col["mright"]->colValue="1";
  //echo get_class($rows);
  //print_r($rows);
  $member=new groupMemberc(&$db,$rows,1);
  //$member->add();
  //$member->update();
  //$member->delete();
  //print_r($member->getList("mid=''",0,2));
  //print_r($member->getInfo());
  //echo $member->getListNum("gid=''");
  //echo $member->id;
  }catch(Error $er){
	$er->recode();
  }catch(Exception $er){
	echo $er->getMessage();
}